Wrap the h1 tag in its own view. Consider giving it a model that holds the current content of the h1 and fires an event when the content is change. Then the view can listen for that event and update itself accordingly. Also another function can listen for the same event and change the document title as the h1 changes.
Wrap the h1 tag in its own view. Consider giving it a model that holds the current content of the h1 and fires an event when the content is change. Then the view can listen for that event and update itself accordingly. Also another function can listen for the same event and change the document title as the h1 changes.