The following diagram shows the way things work:
The parts of jsserv
The DOMInterceptor intercepts the HTML output of other controller and initializes a dom state with it. The document itself is parsed into a DOM tree and the referenced scripts are loaded and executed. Additional patch scripts can be defined to alter the behaviour of other scripts.
The current version adds
<a class="eventHelper" href="/app/event?uuid=42">...</a>
Links around every element for which a onclick handler is registered. The links point to a DOMEvent Controller that triggers updates in the user’s DOM State.
Edit: code.google.com link added, update to 0.12