Make compiling templates crash less frequently.

Valid JST syntax can be parse errors to html-minifier.