modified calendar js