Hack patch for cross domain ajax call