supports rails' relative_url when building baseUrl for requirejs
Merge pull request #146 from uswitch/master

supports rails' relative_url when building baseUrl for requirejs