Added waitOn() function to make sure Campus data is loaded before the template is shown.
Moved the setting of the campus and current location layer to functions in mapFunctions.coffee