jim-jams (1)youdaoicibaDictYouDict
"A fit of depression or nervousness", Mid 16th century (originally denoting a small article or knick-knack): fanciful reduplication. The current sense dates from the late 19th century.
jim-jams (2)youdaoicibaDictYouDict
"Pyjamas", Early 20th century: abbreviation of pie-jim-jams, alteration of pyjamas.