added javascript alert to display notification