Add disconnect logic
Use the atmosphere.js script from now on