Sockets.js clean up.