Course popup / Homepage refresh / Homepage functions

Changes:
1.  Course popup placeholders removed.
2.  New function called loadCoursesIntoPopup():  Course popup selection
now shows all courses that have been added to the database.
3.  Added pageRefresh() to all homepage complete and edit buttons to
load more events once one has been removed.
4.  Comment / documentation added.
5.  Formatting adjustments.