Replace document.outerHTML by document.documentElement.outerHTML

jsdom has removed document.outerHTML (see https://github.com/tmpvar/jsdom/commit/56aae9f8c6b31f992250c5e0a2c831781999a27f)

Use document.documentElement.outerHTML instead