You can use JS selector to associate JS files with XUI files. JS selector will only offer the default JS folder and its sub-folders for selection. The default path is WebContent/js. Complete the following steps to change the default JS folder path.
1 Click Project > Properties and select Project Paths under BTT.
2 Click Browse next to JavaScript Folder and navigate to the new JS folder path.