minor js changes
trying to figure out foodbar/dirtiness issues