Edit in JSFiddle

require(['jquery'], function (JetCSKJQ) {

	var jq = JetCSKJQ; 

	//% Replace Browser Favorite Icon(s);

    //% Get CSK FavIcon URL;
	var cskFavIcon = getImageUrl('CSK_LOGO_FAVICON');	
	//% If Classic;
	if ( jq("#ptbr_header_container").length > 0) {

		//% create div for favIcon
		var favIcon = document.createElement("LINK");

		//% set attributes and innerHTML
		favIcon.setAttribute("rel","shortcut icon");
		favIcon.setAttribute("href", cskFavIcon);

		//% insert favIcon div in the head element
		document.getElementsByTagName('head')[0].appendChild(favIcon);

	} else {
		//% Fluid;
		//% Replace Browser Favorite Icon(s);
		jq('head link[href*=LOGO_FAVICON]').attr('href', cskFavIcon);

	}
	
	//% Replace Fluid Processing Icon;
	var cskProcessingFmode = getImageUrl('CSK_PROCESSING_FMODE');
	jq('#processing[src*=PT_PROCESSING_FMODE]').attr('src', cskProcessingFmode);

	
});