Added uglifyjs function, used easy method for now.