Add New Attribute To Array Javascript Methods