fix loading when both `define` and `exports` exist

We ran into problems when users tried to use [mapbox.js](https://github.com/mapbox/mapbox.js), which uses browserify, on a site with requirejs. Since `define` was defined, nothing was added to `exports`.

With this change, if both `define` and `exports` are present it will load it with both systems.