Fix delete button when displayed in category edit.  The arrayRow object must be global the category edit page reloads the form via Ajax, resulting in the object not being visible in the document scope
Fix the use default checkbox when included as a category attribute.  getAttributeCode returns null - using getName as a fallback