Alerts for Class1 Fully Work

Now the alerts for class 1 finally fully work, along with the
AlertsManager.  Only thing left is to apply changes to saveClass()
function for classes 2 to 6.  Committing to make sure nothing breaks
down during that process.

Note: also added an onload caller on the body tag of the index.html