nl_tokens: Replace element
pl_tokens: function replaceElement ( newChild , oldChild ) { if ( ! is$1 . element ( oldChild ) || ! is$1 . element ( oldChild . parentNode ) || ! is$1 . <mask> ( newChild ) ) { return null ; } oldChild . parentNode . replaceChild ( newChild , oldChild ) ; return newChild ; }