removed js error