Fix console.log & others to work more like expected
Merge pull request #413 from wizcorp-olivier/fixConsoleLog

Fix console.log & others to work more like expected