Added HTML5 for IE8 by using DOM and adding document.createElement