Fixed the calendar not displaying as result of changes to db.js