Updated keystroke.js