replaced class selectors for HTML5 custom attrs