adding dojo code