Add the search function to the index.html