Fetch grains via ajax call