Array Push Object Into Array Javascript Length Method