fix auto-scroll-to-bottom.js