Support for IE7 and IE8

I broke the tests :(