Fix console.js for IE7, 8 and 9

I got something working but I'm not proud of it.
I think @loicfrering will do better.

I also added json2.js lib in the stack for IE7.