Cross domain calls fixed.

Cross domain calls now work.