get carbs using ajax WIP