fixed undefined config issue with dojo AMD loader