Still following the philosophy of “what the hell are you still doing on my disk”, I released seethrough for JavaScript, a port of the XML/XHTML template engine I wrote for Erlang some time ago.
It’s based on E4X, it’s extensible, and works in Spidermonkey 1.8 and Rhino 1.7. Rough docs are here. Enjoy!