Redirect between tabs with AJAX