Maybe this would be better structured as:

```
var path;
if (config.type === 'Style')
  path = self.cssBase + file + '.css';
else
  path = self.jsBase + config.type.toLowerCase() + '/' + file + '.js'

LazyLoader.load(path, cb);
```

It's not a big deal either way, though.