Update foxSocket.js