The original templating code was here: http://ejohn.org/blog/javascript-micro-templating/ - someone had put out a fix a "single quote" issue... can't find it right now. Looks like it's done a bloat-morph into something huge now - obviously it must contain some better features, but if all you want is to do the templating examples you've done in the code above, then the tiny (jQuery-free) solution might be better!