modified editors.js