update for meal.html - fixed javascript issue so it can load based on submitted form