update to the 2.2.x version of Pusher's JavaScript library

two new releases with multiple fixes since April - see https://github.com/pusher/pusher-js/releases