//Should fix any console log issues. if (!window.console) { console = { log: function () { }, time : function () { }, timeEnd : function () { } } };