changes models.js to objects.js