How to created timed event in html:

Put the name of a function inside the command setTimeout(x,y);
where x is the name of the function you want to run and y is the time in milieseconds.
Example: setTimeout(playAudioStartSound,1000);
would play the function playAudioStartSound() after 1 second.