added scripts to html file so as to enable display of search results