browser: Fixed that no logs output on IE8/9
IE 8/9 reports console methods as objects when using the typeof operator.
https://web.archive.org/web/20111123190115/http://whattheheadsaid.com/2011/04/internet-explorer-9s-problematic-console-object

Closes #148.
browser: check for console.log truthiness instead
Related to PR #166
Merge pull request #166 from mooyoul/ie8

browser: Fixed that no logs output on IE8/9