I have a payment module that requires a bit of javascript on the checkout page for stores where it is enabled. The good news is that it is correctly including the link on the checkout page. Unfortunately, its also including the link on every other page and in every store.
How do you setup a javascript include to only appear in a certain section and only in stores where it is enabled?