Replaces console.log by a plain old alert