move native object/array cond clauses up so that js->clj can work with purnam