Hi All, Coming late to this thread, but the Apache Sling project uses ESP (http://www.plenix.org/esp/), which defines itself as follows: "ESP (EcmaScript Pages) is a servlet add-on that allows you to write servlets directly in JavaScript and Html while retaining all the power of the Java language and the servlet object model." This probably can't be embedded into CouchDB as is, but might provide ideas for other js templating approaches. Regards, James -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.