code: function( name, clazz ) {
      var $elmt = '!' === name
        ? document.createDocumentFragment()
        : '' === name
        ? document.createTextNode( clazz || '' )
        : document.createElement( name )
  
      try {
        if ( clazz ) {
          $elmt.className = clazz
        }
      } catch (e) {}
  
      return $elmt
    }
docs: Create a document fragment, a text node with text
  or an element with/without classes.