combine and merge two javascript objects

combine and merge two javascript objects