Update pubsubhelper.js