Switch back to the old keyboard event creation code, but ensure the 'keyCode' attribute is present -- tests yet to come.