fix for html5 data-attribute and internal data-store