I do not have full context here, but in general, for a collection of modules that are in a directory, relative IDs should be used for dependencies. That allows consumers of the code to place the code in a named directory of their choosing. So if the files are like so:

* ui/jquery.ui.accordion.js 
* ui/jquery.ui.core.js

Then accordion would use "./jquery.ui.core" to refer to the core.js module.