more js manipulation