fixed typo foot_chain --> food_chain, also fixed javascript bug