Remove console.log statements to support IE