Working on AJAX to fetch locs