code: function cleanWhitespace(elem) {
      // XXX Is this needed? According n0s, it's done for fix problems with whitespace nodes in IE
      // XXX Additionaly this will remove nodes with &nbsp; in browsers
      var node, iter = elementIterator(elem);
      while (node = iter()){
          if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) {
              node.parentNode.removeChild(node);
          }
      }
  }
docs: Shortcuts