More Bug Fixes for the Homework Manager page as well as some reorganization of the js files in the htdocs/js folder.
A bug fix on the Homework Sets (front page) due to moving around library files.
Merge pull request #22 from pstaabp/master

More updates