Removed dependence on clojure.template so we can use this on ClojureScript