Remove call to console.log

Calling console.log function in older versions of IE results in an
exception being thrown, since they don't have a native support of this
functionality.