ie11 hacks and compatibility fixes