Cross-browser wrapper for window.console object