simplify wrapper

Currently we have:

```javascript
..., function(global) {
    'use strict';
    return (function() {
        ...
        return R;
    }());
});
```

One function wrapper is sufficient:

```javascript
..., function(global) {
    'use strict';
    ...
    return R;
});
```