adding keypress.js to allow keyboard input