Adapting legacy Internet Explorer to HTML5 and CSS3 standards