javascript audio stop

JavaScript
sound.pause();
sound.currentTime = 0;
Source

Also in JavaScript: