Added get/set attribute of a DOM element.