dojo: add some more controls to the layer
replace jsmin with jshrink