Simplified JavaScript & added food examples