Push Values In Array Javascript Methods