removed intermediate template js files
added compileTemplate to builder