dont't use closure for chrome extension
adapt to changes in emscripten FS API
added missing module.js for chrome-ext test