Add compatibility with Uglify v2

Compatible with Uglify v1, too