JavaScript: Window Console Log Fix for IE