Passing document.body to the anonymous function