Removed console.log for IE