move data-href retrieving into helper