Translates several keys to JavaScript keycodes to be compatible with raw keycodes