We need to refactor console object and rewrite it in JavaScript. Current implementation is buggy and is missing a lot of features.