Fixed logging to console so it works in IE

The current code console.log does not work in IE 8. It works though if Ext.log is used for logging instead.