Normalise export method between bundle and o.js

Fixes the case where `this` is not the same as `window`, so `moxie` throws a `ReferenceError`.
Merge pull request #79 from quarterto/patch-1

Normalise export method between bundle and o.js