Add web MIDI API and fix notifications callback.