Added all JS files for results table. Also added functionality for search page.