Modified the example code's logger function in the README. Now it scrolls to the bottom of the document whenever a new log message gets appended.