We need to pass the memory size info from emscripten to the memory section of the wasm module. Perhaps we should parse it out of the js file?