Add some IE compatibility layers