jSmart is a port of PHP Smarty templates to Javascript find out more at https://github.com/miroshnikov/jsmart