Why don't you use DataWedge?
If you need to have more control, you can think about having an additional application invoked by a custom URI:
However I'll try to stick to plain DataWedge before building such a thing.
BTW, no, you can't use rhoapi-modules.js outside of a RhoMobile app. However you can use a very simple WebAppContainer like: