Aye, you're right..

Got the code after some ["html5 dataset fallback" search](http://stackoverflow.com/a/18540799/405217), and just "cached" the variables.