Switch to using PUBNUB javascript. Get rid of socket.io