made HTML5 compliant