Fix typo in editor-main.js