Fix HTML5 errors