Add console hack for ie