       ; Returns a map containing information to make it easier to remove the
       ; lesson
       {:day day, :rowNum rowNum, :startTime startTime, :endTime endTime,
-       :divElem divElem})))
+       :divElem $divElem})))
 
 (defn- add-module-lesson-group
   "Adds a lesson group of a module to the timetable."

                             :rowNum    -> 0-indexed <tr> where the lesson is
                                           stored
                             :startTime -> 0-indexed start time of lesson
                             :endTime   -> 0-indexed end time of lesson
                             :divElem   -> jQuery <div> of the lesson}
              }
       }"
  :private true

                                       lessonLabel])]
    (if (and moduleName lessons)
        (let [lessonInfoSeq (doall
                              ; remove lessonIdx
                              (map (fn [[lessonIdx lesson]]
                                     (add-module-lesson moduleCode
                                                        moduleName
