Event.keypress does not work on IE, instead of that I used event.keyCode