Replace BIP32key with HDWallet in index.js
Fix wallet.js so it does not crash with HDWallet.