High-level Javascript API for Bitcoin Trezor