cleanups and updates for dojo/dojox#53