Remove debuf code in editor.js