Fixed the issue with HTML5.