Support IE7 and IE8