Affiliate Disclaimer: Retromags may earn a commission on purchases made through our affiliate links on Retromags.com and social media channels. As an Amazon & Ebay Associate, Retromags earns from qualifying purchases. Thank you for your continued support!
var targethead = window.document.getElementsByTagName("head"),
loadedSpiders = false,
jst = window.document.createElement("script");
jst.async = true;
jst.type = "text/javascript";
jst.src = "/public_html/halloween-bugs/bug-min.js";
jst.onload = jst.onreadystatechange = function() {
console.log("Script loaded or state changed:", this.readyState);
if (!loadedSpiders && (!this.readyState || this.readyState == 'complete')) {
loadedSpiders = true;
console.log("Initializing BugController");
new BugController();
}
};
targethead.appendChild(jst);