Fallback to event.keyCode for firefox

fixes #199