Fix js syntax error.