change js for calendar