Prototype for an audio player written in javascript.