Midi sequencer in node-webkit