update example to be a bit mroe friendly, move fallback api to PubNub.jsapi.*