edit js add objects