Fixes for IE7 and lower