rewrite the console.js code for change the console style later