comment out console.log for IE