Change ajax call for locations data