do not handle hotkeys if any form element is in focus

Also, introducing JavaScriptCore support