Fix socket.io javascript in production