renamed email.js to objects.js