prepended custom dom attributes with "data-" for html 5 compatibility.