Why can't this be `document.write`-ten?