Update WebMIDIAPI.js

Changed the MIDIAccess function statement to a function expression since it's already declared at the topmost var statement (I missed that warning before, sorry).

Minor code adjustments and spacing cleanup, should now be easier to maintain :)

You rock.