some more js changes