added jquery code to auto-scroll console