As you clear the items around the green jars, the number of fireflies will decrease.
When the number of fireflies reaches 0, the green jars will disappear.