The module needs to be loaded before the document is loaded or else it will overwrite it.
The problem is that requirejs loads the module after the document is loaded.
I pulled out the browserFS module from RequireJS to separate module to resolve this problem.
Confirmed working. I have also submitted an Issue on the BrowserFS project, we should revert to the proper asynchronous model when it is resolved. https://github.com/jvilk/BrowserFS/issues/142
The module needs to be loaded before the document is loaded or else it will overwrite it. The problem is that requirejs loads the module after the document is loaded.
I pulled out the browserFS module from RequireJS to separate module to resolve this problem.