You can use an <audio> object to put a sound on your page and then play it with javascript. I found this on the web:
<script>
function play() {
var audio = document.getElementById("audio");
audio.play();
}
</script>
<input type="button" value="PLAY" onclick="play()">
<audio id="audio" src="youraudiofile.mp3"></audio>