Check if files_texteditor is enabled before loading latexeditor.js