Using keypress instead of keydown.