consolidate object, array and dom utils