th 4 - changes to get it working with IE8