search bar js imporve