add pubsub-js example