Hi,
The Jetty webserver is built-in to the DS core engine, so using that would take less RAM than loading a NodeJS instance as well. However that internal Jetty server has limited features compared with NodeJS, which has an infinite number of modules and extensions available. We have not updated the Jetty server because it takes a lot more work to add features and maintain it compared to NodeJS. We are using NodeJS internally in DS to run extensions and the sibling project 'NodeStudio' also is heavily NodeJS focused, so it's natural for us to focus on that. Modern devices have lot's of RAM these days and running an NodeJS server in your app is not such a big deal as it used to be when we first started out with DroidScript. That said, if someone was to write a DS plugin with a more advanced Jetty server module, then we would be very happy to have that option for our users :)