Fix webservices jquery calls to enable CORS