Ensure ALL calls to `console.log` check for its existence

Complements commit eb210caa43ffde2c67d28e4aed6eab127e190bb9