fixed javascript search bar linking