Finished the reorganization of the htdocs/js folder.
Reorganized the Homework Manager to make it simpler to use.
A few UI polishes as well.