Javascript reads data from URL
Script tag in meals.erb sets global JS variable