diff --git a/wasm/e2e.go b/wasm/e2e.go
index 9ae1551b29e59d70cd968cb41540a7898429e904..98203fc778d98eefa0af3fbfb6c0ce518c25e2e8 100644
--- a/wasm/e2e.go
+++ b/wasm/e2e.go
@@ -210,20 +210,23 @@ func newAuthCallbacks(value js.Value) *authCallbacks {
 func (a *authCallbacks) Request(
 	contact, receptionId []byte, ephemeralId, roundId int64) {
 	if a.request != nil {
-		a.request(contact, receptionId, ephemeralId, roundId)
+		a.request(CopyBytesToJS(contact), CopyBytesToJS(receptionId),
+			ephemeralId, roundId)
 	}
 }
 
 func (a *authCallbacks) Confirm(
 	contact, receptionId []byte, ephemeralId, roundId int64) {
 	if a.confirm != nil {
-		a.confirm(contact, receptionId, ephemeralId, roundId)
+		a.confirm(CopyBytesToJS(contact), CopyBytesToJS(receptionId),
+			ephemeralId, roundId)
 	}
 
 }
 func (a *authCallbacks) Reset(
 	contact, receptionId []byte, ephemeralId, roundId int64) {
 	if a.reset != nil {
-		a.reset(contact, receptionId, ephemeralId, roundId)
+		a.reset(CopyBytesToJS(contact), CopyBytesToJS(receptionId),
+			ephemeralId, roundId)
 	}
 }
diff --git a/wasm/utils.go b/wasm/utils.go
index 7959879b487f59a53187cde114bd01eeaa6a708a..5c7a62ad757f73db07b6997ce2428ea1fd2bca6c 100644
--- a/wasm/utils.go
+++ b/wasm/utils.go
@@ -45,7 +45,7 @@ func WrapCB(parent js.Value, m string) func(args ...interface{}) js.Value {
 	}
 
 	return func(args ...interface{}) js.Value {
-		return parent.Call(m, args)
+		return parent.Call(m, args...)
 	}
 }