first attempt at food inventory ajax