Workaraound for browsers that don't support console.log