document.ready

added the correct jquery syntax