Remote appendAround code from document.ready and add some comments