The element of a folktale included in this excerpt is:
It includes a clever person who plays a trick on someone else.
In this excerpt, John is portrayed as a clever person who outwits the slaveowner by eavesdropping on him and using that information to his advantage. His actions demonstrate intelligence and resourcefulness, which are common characteristics of clever characters in folktales.