Created config file for phonegap. Should resolve the allow origin issue.