Changing span to anchor tag