How To Push Object Into Array Javascript Methods And Functions