Change Property Value Of Object In Array Javascript Length Of Line