- added pubnub to externs to keep from munging the libraries