Add: static/js/(index > index.advanced-search-form).js -Migrate code relevant to the advanced search form to its own file. -Group global-scope function calls into wrapper functions executed on definition. -Add datepicker to new form's input fields.