node js chat using pubnub for message transport instead of socket.io