Adds path getters and setters to HTMLAnchorElement prototype