Problem using Webassembly wallet with remote node
I am having a problem running the webassembly example with a remote daemon. I run this code : 
`  let walletFull = await monerojs.createWalletFull({
    networkType: "stagenet",
    serverUri: "https://stagenet.xmr.ditatompel.com",
    restoreHeight: 1165386,
    password: "0",
    mnemonic: 'zebra cuddled boss listen slower pencil hatchet eden tilt offend yeti tirade narrate seasons abyss copy sowed foes agreed behind judge gesture warped were abyss'
  });
  let ans = await walletFull.isConnectedToDaemon()
  console.log(ans)`
but the connection check always returns false and if I try and use it, it tells me that the wallet is not connected. I tried connecting to the node and just checking for height and things and the node responded. 