Fix js fail