Fix search of docs for firefox

Search in firefox was broken. Firefox does not recognizes event as chrome/ie/firefox. Event object has to be passed at the keyup event callback.