Added support down to IE7