Only loading jQuery when it hasn't been loaded before.

Your current code always adds the jQuery library, regardless of whether it had been loaded before. This PR should fix that by moving the jQuery script tag to an `else` branch.