Mold is a JavaScript templating library. See the Github page for the code and documentation.