Please remove console.log because of IE does not support it