結果 : get max id from array of objects javascript