Make it possible to var Mousetrap = require('mousetrap')(window, document); for use with node webkit, and expose handleKeyEvent, to trigger with arbitrary event object.