Update bc.js for getHexString