To hide a complete section on a form.
Choose one of the fields in the section (new_attribute) and use this code:
crmForm.all.new_attribute_c.parentElement.parentElement
.parentElement.style.display= ‘none’

To show the section again:
crmForm.all.new_attribute_c.parentElement.parentElement
.parentElement.style.display= ‘block’