Adds a workaround for consoleLog to work on IE8