Uncaught ReferenceErrors: jQuery is not defined, $ is not defined

Issue #5 resolved
Michelle Melton created an issue

Previous repo issue not resolved:

When a Bootstrap Element is added in Moodle 3.2 or 3.4, the modal menu for the icon picker does not display from the Icon field. DevTools Console shows:

Uncaught ReferenceError: jQuery is not defined at fontawesome-iconpicker.min.js:1

and

Uncaught ReferenceError: $ is not defined at modedit.php?add=bootstrapelements&type=&course=46225&section=1&return=0&sr=0:297

I patched this by adding

$formhtml .= '<script type="text/javascript" src="//code.jquery.com/jquery-2.2.1.min.js"></script>';

just before the script insertion for fontawesome-iconpicker.