why should getConsole a public function ? make it just `var getConsole = function...`