reports2: fixed js error with only one backend