Removed the XDate library from the calendar and Homework Manager and replaced it with moment.js
Changed the problem sets  to use standard events
Changed the way permissions are stored client-side to match that on the server.