chore(Drawer): put markup for scripts in separate file
feat(Editor): keep reference to entire document to be able to detect changes