diff --git a/javascript/time_draco_decode.html b/javascript/time_draco_decode.html
index 49def06..6380202 100644
--- a/javascript/time_draco_decode.html
+++ b/javascript/time_draco_decode.html
@@ -51,7 +51,7 @@ function createDecoderModule() {
// draco_decoder.js or draco_wasm_wrapper.js must be loaded before
// DracoModule is created.
- DracoDecoderModule({}).then((module) => {
+ DracoDecoderModule(dracoDecoderType).then((module) => {
decoderModule = module;
enableButtons();
});