more js formatting