Little code fixes for UglifyJS

from salgua:patch-1