added clientside alert support