:-\ So here we are relying on the existence of a global, is it possible to pass the overlay and LazyLoader into the constructor, or the anonymous wrapper function? similarly, I see `Utils.importElements` getting called above, also assuming that Utils is defined.

Or, maybe this is just how gaia rolls, we don't sweat global refs within an app, and we'd unit test this by overwriting a global with a stub/mock?