fix html5 keycode