    be added."
   [moduleCode]
   (if (not (contains? ModulesSelected moduleCode))
-      (let [ModulesMap      (aget js/window "ModulesMap")
+      (let [ModulesMap      (get-ModulesMap)
             module          (get ModulesMap moduleCode)
             lessonsMap      (get module "lessons")
             bgColorCssClass (get-next-lesson-bg-color-css-class)


   NOTE: This function should only be called once."
  [urlHash]
  (let [ModulesMap         (aget js/window "ModulesMap")
        moduleUrlHashArray (.split urlHash "&")

        modUrlHashRegex

   NOTE: This function should only be called by
         `add-module-lesson-groups-from-url-hash!`"
  [moduleInfoSeq]
  (let [ModulesMap         (get-ModulesMap)

        moduleLessonGroupsMap
        (reduce (fn [lgMap modInfo]
