simple pubsub using dom CustomEvent.