added note about document.ready