Update midi.js

added a few more privileged functions, changed 'doMap' to 'map' and 'getValue' to 'get'