dojox/app code cleanup jslint type cleanup for trac #15340 thanks bill, along with some other cleanup as well.