Use "keydown" event for hotkeys on Firefox 25+
(workaround for #12)