change atomic editor constructor, new file create 'editor.js'