build working version in IE7 and IE8