add support for uglify