If the first argument of helper.connect is a function then the port is the default value
Update the pubsub.js example