'Scroll to End of Log' in output window

Naive implementation on vanilla-js.
I am pretty sure this does not work on all browsers, can you add an inline comment with which browsers it does work on?