docs: function _changeLinks(composer, anchors, attributes) {
      var oldAttrs;
      for (var a = anchors.length; a--;) {
  
        // Remove all old attributes
        oldAttrs = anchors[a].attributes;
        for (var oa = oldAttrs.length; oa--;) {
          anchors[a].removeAttribute(oldAttrs.item(oa).name);
        }
  
        // Set new attributes
        for (var j in attributes) {
          if (attributes.hasOwnProperty(j)) {
            anchors[a].setAttribute(j, attributes[j]);
          }
        }
  
      }
    }