Detect programmatic changes to attributes (except [value]) + prevent potential event listener leaks