made fetch_food_details a little more readable
refactored new_recipe.php, javascript is broken now though