If no HTML, don't add try/catch

Although this doesn't cause any halm, it might confuse users as to why it's there, so it's being hidden when there's no HTML.

Arguably we might have to go further and not replace the console logging, but let's land this first.

Fixes #1983
Merge pull request #1986 from jsbin/fix/1983

If no HTML, don't add try/catch