Converting path configuration to relative urls in require.js