LPS-43543

Hey Brian,

These changes are required not only to solve LPS-43442, but also to unblock the solution of other errors detected in the RTL feature. We have updated the build-r2-js task so that it generates a version of the r2.js script that can be run from Rhino without nodejs.

Thanks!

@ipeychev
@jbalsas
@natecavanaugh