Revert "Avoid the direct use of the console object, for browsers that do not support it."

This reverts commit 5f5fde6edc241f12d4d394d4081669fc7d821f34.