fix(dom) getElement: attr -> attribute