add comments to editor-script.js