some updates to objects.js