code: function c(tag, textContent) {
      var d = document.createElement(tag);
      if (textContent) {
        d.textContent = textContent;
      }
      return d;
    }
docs: Shorter way to create element and optionally set textContent.