move mousetrap type defs to where they will be found
use my modified typeify
refactor bindings to use mousetrap