ACalc: Moved external template into Calc.js.