Fixed boxController.js to support latest socket.io-client port call