PubNub js client