component.js + htmleditor cleanup