remved js error