From event.which to event.keyCode for better cross browser event handling