Monkey patch console.log and fling all the log messages from browser to server.