Switched to keydown() because keypress() doesn't capture some keypresses (e.g. Ctrl, Tab, Shift, etc)