[EOSIO/eos] Occur error at contract demo used eosjs (#5301)

Problems like this are best filed with https://github.com/EOSIO/eosjs