Redirect from an ajax request.