Be careful. This will install uglifyJs 2 by default while you use the filter for uglifyJs 1 later (there is 2 different filters in Assetic as the version 2 is not BC with the version 1)