JavaScript MIDI File Generator