;var jackbox; (function($) { var domain = jackboxOptions.domain, scripts, count, total; function init() { var header = $("head"), url = document.URL, splits = url.split("?url="); if(splits.length === 2) window.location = splits[0] + "#/" + splits[1]; if(url.search("https") === -1 && domain.search("https") !== -1) { domain = jackboxOptions.domain = domain.split("https").join("http"); } var style = $("").attr("rel", "stylesheet").attr("type", "text/css").appendTo(header); style.attr("href", domain + "jackbox/css/jackbox.css"); var custom = jackboxOptions["custom-css"]; if(custom) $("