Update keymaster.js
Merge in #30