Mousetrap is a simple library for handling keyboard shortcuts in Javascript.

https://github.com/ccampbell/mousetrap