compressed js using uglifyjs before sending to client