Fallback to event.keyCode for firefox

fixes #199
Merge pull request #247 from patrickkettner/use-keycode

Fallback to event.keyCode for firefox