code: function setHTML(container, content) {
      if (container) {
          // Clear out everything in the container
          while (container.firstChild) {
              container.removeChild(container.firstChild);
          }
          if (content) {
              if (typeof content === 'string') {
                  container.innerHTML = content;
              } else {
                  container.appendChild(content);
              }
          }
      }
  }
docs: Set the html of a container. Should support both raw text and a single DOM Element.