Fixed legacy dojo. references to the AMD style references.