share an event emitter among pages and frames on the same domain