fixed some more js