clean up shell code using uglify, in optimized builds, when not using closure