Project: dom
Task (challenging): Modify file content in editor and auto save the content. Save codes to 'common/editor.js' imported by 'index.js'.