Js Create Object From Array Javascript Concat Function With Dates