You don't. Classes are defined and referenced by a pointer just like everything else. You MUST have a way to refer to that pointer, whether by reference directly, or by reference in a map using a string. It's as simple as that in JS. Either you have access, or you don't. For string key based reference access you must have something to reference with said key. This is true in most other languages as well. There are a couple of answers here about it, but otherwise unless it's found on an object, a key will do you nothing.
var test = { 'a': 1 };
'test'; // "test"
'test'.a; // undefined
This is exactly how JS would interpret it. To reference test
by string, you'd need to have something with the key test, otherwise JS has no way to interpret it.
This isn't a bad thing however since it would prevent someone sending you a string 'adminClass' and getting an instance of said class returned to them, exposing all sorts of dangerous things.
So for this paradigm, you're going to need a map of classes to go against. An Object
should work just fine.