Question: do we want the ```a``` inside the ```span```, or the other way around?

```appendTo``` will put the ```a``` inside the ```delete_span_token```, and from the description of the issue and pull request I thought the span was meant to be wrapped inside the a href, in which case you'd have to use ```append``` rather than ```appendTo```.