IE fix for cross domain senarios