use bitcoin-constants in script.js