removed console.log and console.error for IE9