I have this function:
// Increments the scrubber's value based on the speed the user has set and calls seek(). If at max, pauses.
function tickClock(){
if(document.getElementById('TheScrubber').value >= document.getElementById('TheScrubber').max){
clearInterval(clock)...