some fixes to the dojo examples