Added support for IE7 and 8, including tests. Added IE version of tests.