Javascript Array Map Return New Object In C