                                    "moduleType" (js-obj "valueType" "item"))
                     "items"      itemsArray))
           (.configureFromDOM myExhibit)
-          (init-select2-input-box modulesArray))))
+          (init-select2-input-box modulesArray)
+          (init-dom-clear-modules))))
 
     ; Retrieve Exhibit 3.0 Library
     (getScript "js/vendor/exhibit3-all.min.js" (fn []))))

                      "initSelection" (fn [])
                      "query"         (select2-query-fn modulesArray)))))

; Main entry point of the program
(defn ^:export init []
  ; Globals

(ns ^{:doc "main entry point for the cljs-nusmods project"}
  cljs-nusmods.main
  (:use [jayq.core :only [$ hide is one prevent show]])
  (:require [cljs-nusmods.module-array-repr     :as module-array-repr]
            [cljs-nusmods.aux-module-array-repr :as aux-module-array-repr]
            [cljs-nusmods.time                  :as time-helper]))
