Add title for confirm window and remove debugger

Add title for confirm window and remove debugger
from js code.