Reverted some log usage of the console object, since it may be replaced by MSIE.