Jemplate is a templating framework for JavaScript that is built over Perl's Template Toolkit (TT2). WWW: http://search.cpan.org/dist/Jemplate/