before uglify
uglify finished