var custom_style = document.createElement('link');
custom_style.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css';
custom_style.rel = 'stylesheet';
document.getElementsByTagName('head')[0].appendChild(custom_style);
var custom_style = document.createElement('link');
custom_style.href = 'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css';
custom_style.rel = 'stylesheet';
document.getElementsByTagName('head')[0].appendChild(custom_style);
// load scripts which needs jQuery
const checkJquery = function () {
if (typeof jQuery === "undefined") {
setTimeout(checkJquery, 500);
} else {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.js";
(document.getElementsByTagName('body')[0]).appendChild(script);
setTimeout(function(){
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://static-new.kosik.cz/files/nl/kosik/default/scripts/default-92a4acc5e3.js";
(document.getElementsByTagName('body')[0]).appendChild(script);
}, 500);
}
};
checkJquery();