Update admineditor.js