@gfranko this is how a user application could be configured to use a third party plugin and jquery-ui:

```
 |- components
 |    |- jqueryui
 |    |    |- jquery.ui.widget.js
 |    |- jquery
 |    |    |- jquery.js
 |    |- foo
 |    |    |- foo.js
 |- main.js
```

`main.js`:
```javascript
require.config({
  paths: {
    jquery: "components/jquery/jquery",
    jqueryui: "components/jqueryui",
    foo: "components/foo/foo"
  }
}

require(["foo"], function() {
  // My app that uses the foo 3rd party plugin
});
```

`components/foo/foo.js`
```javascript
define(["jquery", "jqueryui/jquery.ui.widget"], function($) {
  // Your 3rd-party plugin, eg selectboxit
});
```

Does it make sense? Any trouble? To make it easier, there are projects whose goal is to wire-up installed Bower components into your RequireJS config.