uncaught type error assistance

uncaught type error assistance

Hi,

I'm working on embedding a widget and i'm getting this error:

Uncaught TypeError: jQuery(...).genivitycalc is not a function at HTMLAnchorElement.onclick.  

This is what it's referencing: 
  1. <a id=”gc-genivity-button” class=”gc-ret-health-gray” onclick=”$(‘body’).genivitycalc(‘init’)”></a>
I tried replacing the $('body') with jQuery('body') but that did not work.


This is what i'm working with:
  1. <!– Ignore this if already included JQuery in your site –>
  2. <script src=”https://www.genivity.com/wp-content/uploads/2017/02/jquery-1.9.1.min_.js”></script>
  3. <!– Attach the genivity js file –>
  4. <script src=”https://www.genivity.com/wp-content/uploads/2017/02/jquery.genivity-calc-v2.min.js”></script>
  5. <!– Attach the genivity CSS file –>
  6. <link rel=”stylesheet” href=”https://www.genivity.com/wp-content/uploads/2017/02/genivity-custom-v2.min.css” type=”text/css”>

  7. <!–Script to auto load HALO widget–>
  8. <script src=”https://www.genivity.com/wp-content/uploads/2017/11/jquery.auto-open-genivity-calc.min.js”></script>


I assume its related to already using $ in our site for jQuery instead of 'jQuery'.  How can I fix this correctly?

Thanks,
Ryan.