Although Toledot Yeshu says nothing about Jesus coming back on Christmas Eve and crawling through latrines, I would suggest that this most essential component of Nittel is based on the Talmudic tradition which holds that Jesus was punished with boiling excrement (b. Gittin 57a), and quite naturally follows the storyline of Toledot Yeshu.