Litle fix to handle the console.log probkem in IE9