ajax call to return data by route