feat(scrollspy): access use attr() when data() returns nothing.