check submodule validity
add exports
Merge pull request #15 from maraoz/refactor/browser-build

Refactor/browser build