Added close button to search results. Minor change to JS