Update console.js

Add support for history scroller