changing the ajax anchors to spans so that they don't get messed up in the extension