modified the fooddist.js