changed logic to act as an audio sprite

using an audio sprite technique that mirrors the html5 audio
implementation.  The main reason for this restructure is because of
mobile devices - mainly iOS.