fix news js error