var Require = function(module){

	var path = location.href.split('work');
	self.importScripts(path[0] + module+'.js');
	return exports;

};

var Require = function(m){

	const base_url = location.origin;
	m = base_url + '/' + m + '.js'.toString();
	importScripts(m);
	//return module.exports;

};

Update import.js