Modify mapping key codes for Firefox and other browsers.