could use `$` for this

`$('.item-link', trail).attr(...)`