Change Object Property In Array Javascript Length