IE throws if createHTMLDocument doesn't have a title