Slight changes to dojo scripts