Don't exit console on error.
Add correct values to document.

I copy-pasted wrong.