Changed console.log calls to consolelog ones, which can become invisible