adds js to auto scroll to bottom of command window after each command