Implement a JS API for WasmFS. It would be nice to make it similar to the API for the current FS, but it also might make sense to make some changes.