Optimized static templates.

In addition to skipping a `new Function` step for purely static content,
leading text now avoids an unnecessary concatenation.