HTML5 attrib fix