Merge client DOM event handling into pubsub