add hash from two array in JS