Normalize which using keyCode and charCode