Fun! Reorganized the scripts.js file. Refactored into some helper functions - documented every function.