Update on the data attibute

Make the calls the same: with attr, no DOM data lookup.

Originally from @aVandalInShorts at https://github.com/DeuxHuitHuit/framework.js-modules/pull/7.patch

Closes #7