Removed keypress code

Removed the keypress code, now in the javascript file