The story
Origin uncertain. Perhaps a palatalised alteration of daunt (“to discourage”). Compare Scots jaunder (“to ramble, jaunt to taunt, jeer”), dialectal Swedish ganta (“to play the buffoon, romp, jest”); perhaps akin to English jump. Compare jaunce. Modern usage likely influenced by jaunty.
Etymology from Wiktionary, CC BY-SA 4.0.