scroll page to top after ajax success

JavaScript
$('body').ajaxSuccess(function() {
  $('html, body').animate({ scrollTop: 0 }, 'slow');
}); 
Source

Also in JavaScript: