removed js error bracket