removed the redundent jquery script def, added confirm delete popup