code: function clean(e, tag) {
    var targetList = e.getElementsByTagName(tag);
    var isEmbed = (tag == 'object' || tag == 'embed');
  
  
  
    for (var y = targetList.length - 1; y >= 0; y--) {
      //------- user clean handler -----------------
      var validRule = false;
      for (var i = 0; i < cleanRules.length; i++) {
        if (cleanRules[i](targetList[y], tag) === true) {
          validRule = true;
          break;
        }
      }
  
      if (validRule) {
        continue;
      }
      //------- end user clean handler -----------------
  
      /* Allow youtube and vimeo videos through as people usually want to see those. */
      if (isEmbed) {
        if (targetList[y].innerHTML.search(regexps.videoRe) !== -1) {
          continue;
        }
      }
  
      targetList[y].parentNode.removeChild(targetList[y]);
    }
  }
docs: Clean a node of all elements of type "tag".
  (Unless it's a youtube/vimeo video. People love movies.)
  
  @param Element
  @param string tag to clean
  @return void