[javascript] Merge two objects with ES6