Framework for event-based pub/sub registration between disparate web applications