added mousetrap.js for key events