Prevent exception error in older browsers

Prevent exception error in older browsers (function `console.log`)