clean up copy/paste in redactor.js