ajax call for locations