Fix rendering of event-handler references.
Preliminary hookup of click events.