Resolve console’ is undefined” in IE