Make somewhat functional ajax search box