removed console.log for ie 8