refactor(dom) if src add event