Change Property Value Of Object In Array Javascript Length