   (:require-macros [hiccups.core :as hiccups])
   (:require
     hiccups.runtime
+    clojure.string
     [cljsinfo-server.util :refer [js-log log]]))
 
 ;; TODO: text for footer:
 ;; "Please copy, improve, and share this work."
 
 (def encode js/goog.string.htmlEscape)
+(def encode-uri js/encodeURIComponent)
+
+(def clj-string "clojure.string")
+(def clj-set "clojure.set")
 
 ;;------------------------------------------------------------------------------
 ;; Helpers

(hiccups/defhtml literal [n]
  [:span.literal-c3029 n])

(hiccups/defhtml fn-link [nme]
  [:a.fn-a8476 (encode nme)])

;;------------------------------------------------------------------------------
;; Sections

            (fn-link "get")
            (fn-link "subs")
            (literal "(clojure.string/)")
            (fn-link "join" clj-string)
            (fn-link "escape" clj-string)
            (fn-link "split" clj-string)
            (fn-link "split-lines" clj-string)
            (fn-link "replace" clj-string)
            (fn-link "replace-first" clj-string)
            (fn-link "reverse" clj-string)]]
        [:tr.odd-372e6
          [:td.label-9e0b7 "Regex"]
          [:td.body-885f4
