more js cleanup.