    with the `:divElem`, `:moduleCode`, `:lessonType`, `:lessonGroup` keys."
   [moduleCode lessonType lessonLabel bgColorCssClass isActuallySelected?
    & {:keys [ModulesMap]
-      :or   {ModulesMap (aget js/window "ModulesMap")}}]
+      :or   {ModulesMap (get-ModulesMap)}}]
   (let [moduleName          (get-in ModulesMap [moduleCode "name"])
         modulesMapLessonSeq (get-in ModulesMap [moduleCode "lessons" lessonType
                                                 lessonLabel])]

;                                          `:lessonType`
;   }

(def ^{:doc     "Width in pixels of a half hour timeslot"
       :private true
       }

        rowNum     (:rowNum removedAugTTLessonInfo)
        startTime  (:startTime removedAugTTLessonInfo)
        endTime    (:endTime removedAugTTLessonInfo)
        ModulesMap (get-ModulesMap)
        ttDay      (get-timetable-day day)

        ; This is the time range freed up by removal of the lesson
