Update transaction.js
Update transaction.js

Fixes https://github.com/bitpay/bitcore/issues/1036
pnagurny/bitcore,eordano/bitcore,bankonme/bitcore,braydonf/bitcore,initaldk/bitcore,daxxog/clamcore,bitpay/bitcore,martindale/bitcore,phplaboratory/bitcore,genecyber/bitcore,TeamPiggyCoin/PiggyCore,iobond/bitcore,braydonf/bitcore,williamcotton/bitcore,litecoin-project/litecore,williamcotton/bitcore,phplaboratory/bitcore,martindale/bitcore,iobond/bitcore,initaldk/bitcore,TOMOAKI12345/bitcore,bitjson/bitcore,bitpay/bitcore,bitjson/bitcore,bilthon/bitcore,bitjson/bitcore,MonetaryUnit/bitcore,genecyber/bitcore,iobond/bitcore,adjoinant/bitcore,UdjinM6/bitcore-dash,MonetaryUnit/bitcore,pnagurny/bitcore,jcvernaleo/bitcore,bankonme/bitcore,eordano/bitcore,eXcomm/bitcore,jcvernaleo/bitcore,maraoz/coinforge,martindale/bitcore,adjoinant/bitcore,daxxog/clamcore,olalonde/bitcore,janko33bd/bitcore,bitpay/bitcore,litecoin-project/litecore,bitpay/bitcore,olalonde/bitcore,maraoz/coinforge,janko33bd/bitcore,lekkas/bitcore,GroestlCoin/groestlcore,martindale/bitcore,iobond/bitcore,bitjson/bitcore,iobond/bitcore,TeamPiggyCoin/PiggyCore,lekkas/bitcore,bilthon/bitcore,eXcomm/bitcore,TOMOAKI12345/bitcore