fixed result.responseJSON.redirect_url to result.redirect_url