function transformpage(docstr, titleofdoc){ let toreturn = ` ${titleofdoc}
${docstr}
` return toreturn } function transform() {document.querySelector(':root').innerHTML = transformpage(document.getElementById('content'),document.title)} window.onload = () =>{transform()}