Update commonUtils.js

Added support for IE8.
The window.console object doesn't exist in IE8 until the developer console is open.