diff --git a/client/js/main.go b/client/js/main.go
index dec97d8a63674922a0cdac8234946071019b7ec3..d7105aa4f86a598f4cc4bd2cfff97360cf2f9bd8 100644
--- a/client/js/main.go
+++ b/client/js/main.go
@@ -10,4 +10,5 @@ import (
 
 func main() {
 	js.Module.Get("exports").Set("newRemote", client.New)
+	js.Global.Set("newRemote", client.New)
 }