added ajex search function