Watches elements for changes in the attributes defined and executes callback