initial search functionality with jquery autocomplete