fixed bug with IE, now can inject console via config as well