calendar.js working