Create Map From Array Js