use require.toURL() rather than private date of require.js

The current code uses relative URLs that don't work when I embed orion in my web app. 

I believe that this patch is closer to the right way to do this. However I don't have a way to test this since I understand the NLS solution.