fix bug in js beat display
polish metronome.html.erb