Updates to template editor, and addition of Rhino JavaScript JAR