switching from keypress to keydown to work with Chrome & Opera too