minor js error