CORDOVASIM: Fixing cross domain ajax requests