Simple HTML5 sound manager in JavaScript