add comments in main.js as well as remove tinyeditor dir