use dojoConfig right in head
cleanup
extra function scope not needed
Lookup cleanup