correcting a bug preventing the execution with the dojo loader