moving attributes to data- html5 attributes