Modified http://code.google.com/p/phantomjs/source/browse/test/lib/jasmine-console.js?r=5ffeef450ceaef7dca2fe2c8572b5657ea1c03ec