Added Node.js version of rtreq

First attempt to simulate the example