Added fix for old IE versions