Adds class to anchor for selectAll