Removed the XDate library from the calendar and Homework Manager and replaced it with moment.js