reordered code on index.html examples
decoupled stop event delay from perNoteWrap