Plain JS object changed to the Activity objects