In <head>
put this script.
<script src="obj_merge.min.js"></script>
var ob1 = {a:"foo", b:"foo2", c:"foo3"},
ob2 = {d:"bar", e:"bar2", f:"bar3"},
ob3 = {a:"n", b:"n2", c:"n3"};
// Recibe an array with the merge
obj_merge([ob1, ob2, ob3]); // return: { a: "foo", a_2: "n", b: "foo2", b_3: "n2", c: "foo3", c_4: "n3", d: "bar", e: "bar2", f: "bar3" }