17th century. From the forenames John and Thomas; compare dick, peter, and willy.
John Thomas (plural John Thomases)