Comment out console.log which may cause trouble with IE