change keyboard events to be set up using jQuery hotkeys for greater clarity