Add Value To An Array Javascript Methods