Fix more js errors.