fix bug in bitgo.js init