minor fix on console.log checking (f*ckin IE9)