update socket server host in editor.js