basePath will be set even if only one file is used
update of js files for basePath fix for single file