Added loadHtmlString support