Change Object Property In Array Javascript Methods