Its a shortened version of "the jolly old favourite" which dates back to the days when "gay" only meant happy,everyone wore a hat,we had an Empire and Newcastle United actually won a trophy :-)
I presume it was because if the "jolly old favourite" won more people would be happy.