Replace _this.totalRepairTime() with local var totalRT