Hogan.js
A compiler for the Mustache templating language
...Use hogan.compile() to precompile your templates into vanilla JS. It's best to serve your templates precompiled whenever you can (rather than the raw templates), as parsing is the most time consuming operation. Once compiled, call the render() method with a context and optional partials object. If supplying partials, you can compile them ahead of time, or pass string templates.