errant document.write() on homepage (#1840)

someone noticed this on the homepage and mailed to c2g-bugs, whoops.