Insert Value Into Array Javascript Methods For Objects