Add fix for IE8 'html is undefined' error