correct js error in web tracker