fix for console.log.apply

Console.log (or console.info/warn/etc.) should be a function, but in some cases (IE9) it is not and logger crashes