compiler: use uglifyjs as JS generator