Make relative path for rx module

When the path is not relative and the path configuration is used with an AMD module the <script src="rx.js" /> is added to the pate instead of the <srcript src="mypath/rx.js" /> link