Updating calendar js