Update rest-comms.js
Update rest-comms.js

Cleanup, unused code removed, future code marked
dabibbit/blockchain-bridge,RoastBeefSandwichCo/Roast-Coins,RoastBeefSandwichCo/ripple-coins,RoastBeefSandwichCo/Roast-Coins