Migration from dojo1.4 to dojo1.10

Check this answer