   )
 
 (defn create-graph [base-code]
-  (let [code    (clojure.string/lower-case base-code)
+  (let [code    (lower-case base-code)
         sig     (js/sigma. (clj->js {:renderer
                                                {:type      "canvas"
                                                 :container (.getElementById js/document "graph-container")}

                    (.startForceAtlas2 sig {:worker true :barnesHutOptimize false})
                    (js/setTimeout #(.stopForceAtlas2 sig) 5000)
                    ; Set the colors
                    (goog.object/forEach (-> sig .-graph .nodes)
                                         #(aset % "originalColor" (aget % "color")))
                    (goog.object/forEach (-> sig .-graph .edges)
                                         #(aset % "originalColor" (aget % "color")))

                    (.bind sig "clickNode"
                           (fn [clicked]

    [:div.navbar-collapse.collapse
     [:ul.nav.navbar-nav
      (nav-item :home "Home" "")
      (nav-item :tropes "Tropes" "tropes")
      (nav-item :about "About" "about")
      ]]]])

