This fix allows baseUrl configuration

Fixed CDN support: https://github.com/jwhitley/requirejs-rails#external-domain-cdn-support