issue6268: expose a clean console object
issue6391: remove unused dependencies in console/commandLine.js