Fixed uses of dojo global.