Moved all javascript from advancedSearch.html file to assets