Fixed issue with IE not having console.dir()