Some browsers block microphone access and module loading for pages opened directly as file://.
Run a tiny local server from this folder and open it in your browser instead:
python3 -m http.server 8080
Then visit http://localhost:8080/perio-assistant-local.html