Avoid 'console' errors in browsers that lack a console.