updated js obj