Keyboard control without jQuery