src to midi.js