Updated PubNub browser file
Use inherits module
Using RpcBuilder