Because we remove jQuery here, we need to add it (with the switch) to `templates/base_popup.html`.