changed confirm javascript