Added console.log shim for IE