Adding js file delete confirmation