auto scroll to bottom of page with jquery
To cover all scenarios: Consider scrolling an overflowed div where height is not the same as scrollHeight. (remove the animate part if its not needed):
$('#myDiv').animate({
scrollTop: $('#myDiv').get(0).scrollHeight
}, 1500);
This will work in every case, no need to put a 'ridiculous' number in it:
$(document).scrollTop($(document).height());