You just pass an argument to a function named "$"
function $(someargument){ .... }
In this case, the argument passed is document.body
Jquery usually uses $, so in this case, probably someone wanted to use the Jquery functions directly on the body, i.e. wrap the body in jquery.
$(document.body).html("hi");
(maybe this is not a good idea, but you understand)
source share