adding search button script and autocomplete toggle