A simple javascript metronome.