simplified call to getObjects in manage.js by using destructuring