Destructor, unloads calendar and clears memory (called automatically when page is reloaded).
Parameters:
myCalendar.unload();