Making html 5 compliant