Socket.IO script