When Tim Burton wrote the story for The Nightmare Before Christmas, he had no idea how much Jack Skellington's tale paralleled that of composer Danny Elfman.