Make sure render-to-string etc work better in a browser

Previously, they would be reactive, which could lead to all
kinds of strangeness.

Also fix pesky Closure warning.