 
         (<= (count keys) array-map-threshold)
         (if (distinct-keys? keys)
-          (emits "new cljs.core.PersistentArrayMap(null, " (count keys) ", ["
+          (emits "cljs.core.PersistentArrayMap{null, " (count keys) ", ["
             (comma-sep (interleave keys vals))
-            "], null)")
-          (emits "new cljs.core.PersistentArrayMap.fromArray(["
+            "], null}")
+          (emits "cljs.core.PersistentArrayMap.fromArray(["
             (comma-sep (interleave keys vals))
             "], true, false)"))
 

      (emits "cljs.core.PersistentHashSet.EMPTY")

      (distinct-constants? items)
      (emits "new cljs.core.PersistentHashSet(null, new cljs.core.PersistentArrayMap(null, " (count items) ", ["
        (comma-sep (interleave items (repeat "null"))) "], null), null)")

      :else (emits "cljs.core.PersistentHashSet.fromArray([" (comma-sep items) "], true)"))))


      (emits "cljs.core." value))
    (let [ns   (namespace x)
          name (name x)]
      (emits "cljs.core.Keyword{")
      (emit-constant ns)
      (emits ",")
      (emit-constant name)
