Let the page object be an event emitter