code: function clean(collection) {
      var ns = /\S/;
      collection.each(function(el) {
          var d = el,
              n = d.firstChild,
              ni = -1,
              nx;
          while (n) {
              nx = n.nextSibling;
              if (n.nodeType == 3 && !ns.test(n.nodeValue)) {
                  d.removeChild(n);
              } else {
                  n.nodeIndex = ++ni; // FIXME not sure what this is for, and causes IE to bomb (the setter) - @rem
              }
              n = nx;
          }
      });
  }
docs: /*
  Removes all erronious nodes from the DOM.