pub fn get_memory() -> JsValue
This method is exported in the WebAssembly to check the memory used on the JavaScript