Not sure if it is possible in ClearScript but this is what i used
var alert = window.alert;
var prompt = window.prompt;
var confirm = window.confirm;
var alert = window.alert;
var prompt = window.prompt;
var confirm = window.confirm;