I\'m opening a new window into which I\'m injecting HTML for both the body and the head. The problem is in the head section: the HTML includes both the title and the favicon
$(TheNewWindow.document.head).append(TheHeadHTML);