As a temporary workaround, since `idl` files are simple `.json` files you can bundle it within the web-app and load it with a simple:
```js
import idl from "./testprogram.json";
...
new anchor.Program(idl, ...)
```