title: Scroll to top animation in pure javascript? Can't use jQuery
body: <p>Is there an easy way to convert this:</p>
  
  <pre><code>$("html, body").animate({ scrollTop: $(document).height() }, 10000);
  </code></pre>
  
  <p>into pure javascript?  I need to be able to run the js in a setting where I don't have jQuery available.  Any ideas?  Thanks.</p>