Update console.js

Added support for rendering arrays