Redirect using JS when survey is done