If anyone is interested Webamp is open source and can be found here: https://github.com/captbaritone/webamp