changes in networks.js to support testnet