Fix exports detection to be compatible with browserify
0.3.5
Merge pull request #17 from byte-foundry/browserify

Fix compatibility with Browserify