---
title: "SiteGround Combine JavaScript: scripts to exclude"
description: If you use SiteGround Speed Optimizer to combine and defer JavaScript on your HomeRunner site, the only scripts you need to exclude from JavaScript…
url: "https://homerunner.io/docs/which-scripts-need-to-be-excluded-from-siteground-speed-optimizer-s-combine-java/"
updated: "2026-10-26"
category: Setup and plugins
---

# SiteGround Combine JavaScript: scripts to exclude

If you use SiteGround Speed Optimizer to combine and defer JavaScript on your HomeRunner site, the only scripts you need to exclude from JavaScript combination and deferral are your payment provider's scripts.

**Why this happens.** Payment provider scripts must load directly from the provider's own domain. Bundling them breaks the card form on checkout.

**What to exclude.** For Guesty Pay checkouts, exclude the script handle "guestypay" and the external path "pay.guesty.com". For Stripe checkouts, exclude the script handle "stripe-v3" and the external path "js.stripe.com".

**Where to add them.** In SiteGround Speed Optimizer, add those handles under **Frontend Optimization > JavaScript > Exclude from JavaScript Combination** and in the **Exclude from Defer** list. You can also ask HomeRunner support to apply the same exclusions on the server side.

All other HomeRunner scripts (search, explorer, calendar, map, gallery, chatbot) can be combined and deferred without issue.

Still stuck? [Contact the HomeRunner team](https://homerunner.io/contact/) with your site address and what you tried, and we take it from there.
