Javascript template engine, variant of John Resig's micro templating (http://ejohn.org/blog/javascript-micro-templating/)