hack for webkit keyCode