Speaking of which, it would be neat if there were a way to play javascript generated MIDI without having to synthesize the instruments yourself.
Although I'm guessing that would be difficult to make portable, unless Firefox shipped with its own synthesizer (FluidSynth + basic soundfont). Which would add considerable bloat.