moved socket listener to create editor from app.js to Editor.js