Keymaster.js

I found the library on github
https://github.com/madrobby/keymaster