parentContents = parent.contents(),
nodeIndexes = [params.node1.getIndex(), params.node2.getIndex()].sort(function(a,b) { return a-b; }),
nodesToWrap = [],
parentContents = parent.contents(),
nodeIndexes = [params.node1.getIndex(), params.node2.getIndex()].sort(function(a,b) { return a-b; }),
nodesToWrap = [],