fixed the calender js