updating keypress-js