Updates to template engine, and addition of Rhino JavaScript JAR