Using closure instead of uglifier for JS compression