HTML5 standards cleanup