Update sync.coffee.erb
Update sync.coffee.erb
Merge pull request #88 from ajb/patch-1

Allow for graceful failure if the server is not running
unsubscribe to channels before re-subscribing
cleanup test-related code