Adds methods to obtain the x and y coordinates of an element, relative to the document (absolutePosition) and to the viewport (position).