fix calendar.js, rel #398

Alteration for calendar.js file