adding js alert