refactor(dom) notify