Handlebars provides the power necessary to let you build semantic templates effectively with no frustration.

Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates.

http://handlebarsjs.com/

https://github.com/wycats/handlebars.js#differences-between-handlebarsjs-and-mustache