Fix #10 cross origin checks for low IE versions