take out js alert