microformat-shiv.js
function(node, tagNames) {
			for (var i = 0; i < tagNames.length; i++) {
				if(node.getElementsByTagName){
					var elements = node.getElementsByTagName(tagNames[i]);
					while (elements[0]) {
						elements[0].parentNode.removeChild(elements[0])
					}
				}
			}
			return node;
		}
function(node, tagNames) {
			for (var i = 0; i < tagNames.length; i++) {
				if(node.getElementsByTagName){
					var elements = node.getElementsByTagName(tagNames[i]);
					while (elements[0]) {
						elements[0].parentNode.removeChild(elements[0])
					}
				}
			}
			return node;
		}
function ( node , tagNames ) { for ( var i = 0 ; i < tagNames . length ; i ++ ) { if ( node . getElementsByTagName ) { var elements = node . getElementsByTagName ( tagNames [ i ] ) ; while ( elements [ 0 ] ) { elements [ 0 ] . parentNode . removeChild ( elements [ 0 ] ) } } } return node ; }
removes all the descendant tags by name

@param  {DOM Node} node
@param  {Array} tagNames
@return {DOM Node}
removes all the descendant tags by name