fixed the NaN for ingredient amounts rendering on home.html view after submitting a new recipe