clean editor.js