Replaces console.err with console.error