Remove the keydown event listener because some characters cannot be typed