Bitcore.io Create a raw tx hex (signed) to push to the blockchain
The problem is on this line: 

amount: 100000,


The amount is supposed to be in coins, not satoshis, according these comments in the code. To fix it, replace that line with

satoshis: 100000,



  And what is the deal with these large numbers:


Since the code was assuming an input with 100,000 coins in the inputs, the change address had a lot more coins in it than there should have been.