scrollToEnd

JS.scrollToEnd ()

Moves the displayed text down to the bottom. This should happen automatically, but occasionally it is useful to be able to call it yourself from your game.