Replaced leftover `log()`s by `console.log()