a node powered chat using pubnub instead of socket.io