[javascript] Merge two array of objects based on a key