Added modernizer support for IE8 and IE7