Fix compatibility with IE6.