cleanup of notifyuser method in pubnub demo console