Discovered bad module definition in socket.js, trying to clean it up