added jscript function for delete confirmation