HTML5 metronome for mobile devices