more js fixings