Add New Attribute To Array Javascript Methods For Querying