Added Confirmation JS method