Remove unnecessary function wrapper

Mousetrap exposes itself to the global namespace, so "Mousetrap"
already exists.

The require call was pulling in Mousetrap as a module, but defining
it locally as "mousetrap", which was never used.
Put Mousetrap module back into wrapper function

This removes the assumption that Mousetrap has created a global variable.