Refactored the download logic to a JS file.
Refactored the save collection logic into a JS file.
Refactored the TimeLapse functionality into a JS file.
Refactored the search results javascript into a separate JS file.
Refactored the user collection modal into a partial view.
Removed the js from the UserDefinedCollection page and added references to the scripts containing that functionality.