moving attributes to data- html5 attributes
avoid unnecessary calls to jQuery