Fixing typo in Socket.js