Fix log() in Google Chrome

Chrome throws a `TypeError: Illegal invocation` when `window.console.log`
is called and `this` is not `window.console`.

See https://code.google.com/p/chromium/issues/detail?id=48662
Merge pull request #2 from amiel/fix-log-in-chrome

Fix log() in Google Chrome