Stop updating on window.onhashchange event

This will make the input more responsive. Before, characters would sometimes get dropped when typing quickly. Also, search() was being called twice per keyup event.