Normalise export method between bundle and o.js

Fixes the case where `this` is not the same as `window`, so `moxie` throws a `ReferenceError`.