Add attr.$observe for dynamic shares