code: function wrap(xhtml, tag) {
    var e = document.createElement('div');
    e.innerHTML = xhtml;
    return e;
  }
docs: private method Wraps the HTML in a TAG, Tag is optional If the html starts with a Tag, it will wrap the context in that tag.