Fix issues flagged by Closure Compiler.

Change JSDoc array types to use Closure Compiler style.
Wrap each file in (function(){})() to avoid errors over redefined variables.
Remove non-working renderHtmlError.
Add more checks in Closure Compiler Travis test.
Add missing final quote.
Merge pull request #74 from jsha/closure-compiler-fixes

Fix issues flagged by Closure Compiler.