fixed bug in CLJS version of map