Pusher client script and event bindings for connect/disconnect