fixed empty e.keyCode in ff