lib/jsonpFetch.js
function removeElement(elem) {
  var parent = elem.parentNode;

  if (parent && parent.nodeType !== 11) {
    parent.removeChild(elem);
  }
}
function removeElement(elem) {
  var parent = elem.parentNode;

  if (parent && parent.nodeType !== 11) {
    parent.removeChild(elem);
  }
}
function removeElement ( elem ) { var parent = elem . parentNode ; if ( parent && parent . nodeType !== 11 ) { parent . removeChild ( elem ) ; } }
remove dom node
remove dom node