Alexander Belov, Если совсем упростить задачу:
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
HTMLAudioElement.prototype.stop = function()
{
this.pause();
this.currentTime = 0.0;
}
$(function () {
$('.new_order_sound')[0].play();
});
</script>
</head>
<body>
<audio id="ding" class="new_order_sound">
<source src="http://upload.wikimedia.org/wikipedia/commons/5/59/C_major_scale.ogg" type='audio/ogg; codecs=vorbis'>
</audio>
<input type="button" onclick="document.getElementById("ding").stop();" value="Отключить">
</body>
</html>