deleted alert js