modified:   editor.js
divide js files for better client structure