Create socket.js