Browser compatibility for IE7 and IE8 (sort of.)