Update midi.js

bugfix for resetting, wasn't doing it right.