Edit in JSFiddle

/* 
* requireJS Config 
* Resources: 
* - Jim's PeopleSoft Journal - http://jjmpsj.blogspot.com/2015/02/using-requirejs-to-manage-dependencies.html
* - Delivered PT_CHART_JET HTML Object
*/
var cskWsPath = '/cs/' + getSiteName() + '/oraclejet/js/libs/';
requirejs.config({ 
	//% Path mappings for the logical module names    
	paths: {        
		'jquery':cskWsPath+'jquery/jquery-2.1.3.min',
		'jqueryui-amd':cskWsPath+'jquery/jqueryui-amd-1.11.4.min',        
        }, 
    //% Shim configurations for modules that do not expose AMD
    shim: {
        'jquery': {
            exports: ['jQuery', 'JetCSKJQ']
        },
        'jqueryui': {
            deps: ['jquery']
        }
    }
});