   []
   (set! ModulesSelectedOrder []))
 
-(defn- select2-box-update-modules
+(defn- select2-box-update-modules!
   "Update the select2 box with the currently selected modules"
   []
   ; NOTE: Internally, this does a quadratic amount of work but I do not

  (timetable-create!)
  (reset-ModulesSelected!)
  (reset-ModulesSelectedOrder!)
  (select2-box-update-modules)
  (document-location-hash-reset!))

        (remove-from-ModulesSelectedOrder! moduleCode)
        (.log js/console "I hear and obey!")
        ; Update Select2 box
        (select2-box-update-modules!))))

(defn remove-all-modules!
  "Removes all modules from the timetable"
