So the cdn is a singleton... yet its value is determined given cdnPrefix and urlPrefix...? That smells...

I'm wondering if you need constructor parameters for cdnPrefix and urlPrefix and have the requireConfigJavaScriptCdn determined within the constructor...