subsumed all query machinations under AGOLService.js