Made DomElem.scope faster