A publish-subscribe (broadcast-listen) layer for same-origin inter-window communication