       (cb nil))))
 
 (defn require [macros-ns? sym reload]
-  (cljs.js/require
+  (cljs/require
     {:*compiler*     st
      :*load-fn*      load
      :*eval-fn*      cljs/js-eval}

  ;(println "Loading analysis cache")
  (let [rdr (transit/reader :json)
        cache (transit/read rdr json)]
    (cljs.js/load-analysis-cache! st 'cljs.core cache)))

(defonce current-ns (atom 'cljs.user))


  [source expression? print-nil-expression?]
  (binding [ana/*cljs-ns* @current-ns
            *ns* (create-ns @current-ns)
            cljs/*eval-fn* cljs/js-eval]
    (let [expression-form (and expression? (repl-read-string source))]
      (if (repl-special? expression-form)
        (let [env (assoc (ana/empty-env) :context :expr
