include window.DEBUG.registry in conditionals
Merge pull request #1 from flightjs/reads_from_DEBUG_registry

registry can be read from DEBUG