Removed console.log statements for IE9 compatibility.

console.log statements only exist when the console is open in IE9 and sooner.