Use javascript to build HTML5 Audio Player