1var jq = document.createElement('script');
2jq.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js";
3document.getElementsByTagName('head')[0].appendChild(jq);
4// ... give time for script to load, then type (or see below for non wait option)
5jQuery.noConflict();