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

Constructors are evil in javascript, created MidiInput.init() for construction.