Update attr to data

You can use .data() func instead of attr to manage all data-* attr in DOM
Merge pull request #22 from arandilopez/patch-1

Update attr to data