Added jsdoc for keydown event