Cleanup socket.js also run at end of page loading to prevent pain.