Javascript Restructure and Select2

Restructured the website js files some to make them easier to read, and
added the Select2 jQuery extension to allow cleaner selects and
searching.