would this be better as something like: 

```js
$('.js-add-artefact-need-ids-wrapper-element').on('click', '.tm-tag span', function(e){ ... });
```

Then it would also work for newly added tags as rather than just tags that were there on page load.