Added in-depth comments for most functions

Almost every JavaScript function has a header comment that explains its functionality. The HTML file also has a few comments that describe each container.
Updated .gitignore to include all mootools scripts