What are the differences between JavaScript's window.onload and jQuery's $(document).ready() method?