onKeyPress event not working in Firefox

fixed firefox problem.

then, Japanese can be searched now.