Some initial code in calendar.js