use lodash and socket.io