implement naive IE7 support