removing js alert