JavaScript file to solve Cross-Domain. Use Salesforce as a proxy when needed