code: function copyBody(bodyHtml, doc) {
          if (doc.body.innerHTML == bodyHtml) {
              return;
          }
  
          jQuery.init(doc.body).empty();
  
          appendHTML(bodyHtml, doc.body);
      }
docs: Copies the given HTML as the content of the current document's <body>
  element. If the current document's body already contains identical
  markup, copying is skipped. <script> elements are omitted.