Note: This demo fetches jQuery from a CDN.
Shepherd allows to securize the code from external domain by turning them into modules.
To do so for jQuery, the following lines added to the header of your page are enough:

<script type="text/shepherd-config">
{
  modularize: 'jQuery',
  noGlobal: ['jQuery', '$']
}
</script>


Expected output: A gear falling to the bottom of the page