Create mergeObjects.js