pubsub in subscribe.js is working