aces build format is different. It's same as require js optimizer build format
```js
define(['require', 'depA', 'depB'], function(require) {
  var depA = require("depA")
    , depB = require("depB")
  ...
})
```

Calling the same like
```js
define(['depA', 'require', 'depB'], function(depA, require) {
   depB = require("depB")
  ...
})
```
should also work.

```js
define(function(require) {
  var depA = require("depA")
    , depB = require("depB")
  ...
}
```
requires inspecting toString, because in browser loading scripts isn't synchronous and require will work only if "depA" "depB" are already loaded.
We don't have this problem in worker because importScript is synchronous, and we can evaluate factory function even if we don't have all the dependencies ready.