block js error