Add compatibility with IE6