Constructors are evil in javascript, created MidiInput.init() for construction.
Merge pull request #120 from teotigraphix/master

Fix bug from last commit where constructor was calling host in global scope