Clientside JS code for Wallet Providers