make use of documentElement.outerHTML