Correctly detect default 'window.alert' and replace w/ qlPrompt.