Fixed binding on search.html