renamed dom-element to mag-dom