Added support for IE8 and minified external resources