garbage collect ajax sockets
add more branch code coverage
fix heroku deploy