fixed indexing error in structureJS-dependency:deferenceGroups() that was causing error in array mutation, namely it was lopping off the last element. Also note the defense of iteration over recursion in the same function. Reduced memory footprint due to a single activation record