Move the code to parse the webservices.json at ad.js