a jest or joke
Middle English japen to trick, copulate with, jest, from Old French japer to yelp, influenced in meaning by Old French gaber to mock. The word came to be regarded as coarse in the 16th cent. and was virtually obsolete by the 17th; it was revived in the 19th cent. by, among others, Sir Walter Scott and Charles Lamb