cleaned up editor.js a bit more. separated dirtying