This Javascript library validates based on HTML5 data attributes.