structureJS-dependency:deferenceGroups had a serious flaw. It was removing group components instead of the group reference. corrected. also resolvedArray was put into global ns. fixed