Create pubsub.js