js alert feature outline