Solved, but with keypress. By listening keypress handle special for firefox bug, when with cyrillic keyboard layout doesn't work "<",">".
Solution: on pressing keyboard button we listen keydown and keypress handels at the same time. If the cyrillic character pressed firefox keyCode output is 0 and keydown ignore it. On the other hand, keypress takes keyCode == 0 and makes an output "<" or ">".