fixed calendar.js