Fixed init in calendar.html