Fix for HTML5.