Remove console.log for ie compatibility