using dojox/lang/functional/curry instead of partial