(function() { var jQuery; if (window.jQuery === undefined || window.jQuery.fn.jquery !== "3.2.1") { var script_tag = document.createElement("script"); script_tag.setAttribute("type","text/javascript"); script_tag.setAttribute("src", "https://code.jquery.com/jquery-3.2.1.slim.min.js"); if (script_tag.readyState) { script_tag.onreadystatechange = function () { // For old versions of IE if (this.readyState == "complete" || this.readyState == "loaded") { scriptLoadHandler(); } }; } else { script_tag.onload = scriptLoadHandler; } (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag); } else { // The jQuery version on the window is the one we want to use jQuery = window.jQuery; main(); } /******** Called once jQuery has loaded ******/ function scriptLoadHandler() { jQuery = window.jQuery.noConflict(true); main(); } function loadBootstrap(){ jQuery("head").append(""); var css = jQuery("head").children(":last"); css.attr({ rel: "stylesheet", type: "text/css", href: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap-grid.min.css" }); } function main() { jQuery(document).ready(function($) { loadBootstrap(); $("#trailhead-widget-container").html('
Badges
Points
Trails Completed
'); }); } })();