Cleaned up, commented, and performed minor refactoring of the scripting of development.html.