MIDI I/O using Functional Reactive Programming with Bacon.js