Sequencing in JS

Velocity of the note, pause, stop, etc. functions
(For some reason, it did not work in my chrome browser, but it worked
with safari)