add alert button in javascript