Javascript fix for additional meals, view and mailer view fixed with empty arrays