Create texteditor.js