removed all unneeded IE code
added a fake console.log to make IE obey