Added a console class and js-logger